package com.unhz.generator.dao;

import com.unhz.generator.pojo.ReceivingInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReceivingInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ReceivingInfo record);

    int insertSelective(ReceivingInfo record);

    ReceivingInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ReceivingInfo record);

    int updateByPrimaryKeySelectiveid(ReceivingInfo record);

    int updateByPrimaryKey(ReceivingInfo record);

    ReceivingInfo selectByUserId(@Param("userId") Integer userId);

    ReceivingInfo findByUserId(Integer userId);

    ReceivingInfo selectReceivingInfo(@Param("userId") Integer userId);

    List<ReceivingInfo> selectAllReceivingInfo(@Param("userId") Integer userId);
}